home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 626-637 / disk_635 / ldp / source / tinystring.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  963b  |  37 lines

  1. /* Original Manx Aztec C string.h has been pruned because of contention   */
  2. /* with the index() routine. The original header file is a Manx copyright */
  3.  
  4. #ifndef __STRING_H
  5. #define __STRING_H
  6.  
  7. #ifndef _SIZE_T
  8. #define _SIZE_T
  9. typedef unsigned long size_t;
  10. #endif
  11.  
  12. #ifndef NULL
  13. #define NULL 0L
  14. #endif
  15.  
  16. char *strcpy(char *_dst, const char *_src);
  17. char *strncpy(char *_dst, const char *_src, size_t _n);
  18. char *strcat(char *_dst, const char *_src);
  19. char *strncat(char *_dst, const char *_src, size_t _n);
  20.  
  21. int strcmp(const char *_s1, const char *_s2);
  22. int strncmp(const char *_s1, const char *_s2, size_t _n);
  23. char *strchr(const char *_s, int _c);
  24. char *strstr(const char *_s1, const char *_s2);
  25. char *strtok(char *_s1, const char *_s2);
  26. size_t strlen(const char *_s);
  27.  
  28. #if !__STDC__ /* non ANSI C functions */
  29.  
  30. int stricmp(const char *_s1, const char *_s2);
  31. int strnicmp(const char *_s1, const char *_s2, size_t _n);
  32.  
  33. #endif /* !__STDC__ */
  34.  
  35. #endif /* _STRING_H */
  36.  
  37.